import 'package:card_swiper/card_swiper.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class HomePrefectureStyle1Logic extends GetxController {
  int index = 0;
  late SwiperController controller;

  @override
  void onInit() {
    controller = SwiperController();
    super.onInit();
  }

  void selectTab(int index) {
    this.index = index;
    controller.move(index);
    update();
  }
}
